// api/menu.js
import axios from 'axios';

export function getMenus(role) {
  return axios.get('http://localhost:8181/api/menus', { params: { role } });
}
